﻿<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeBehind="Edit.aspx.cs"
    Inherits="PlugNT.Cms.Web.Admin.Pre_Advertise.Edit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>广告管理</title>
    <link href="../css/control.css" rel="stylesheet" type="text/css" media="all" />
    <script type="text/javascript" src="/Tools/ckeditor/ckeditor.js"></script>
    <script type="text/javascript" src="/Tools/ckfinder/ckfinder.js"></script>
    <script language="javascript" type="text/javascript" src="/js/Common.js"></script>
</head>
<body>
    <div class="frmstatic" style="display: block">
        <span class="frmbar" style="margin: 0 12px;"></span><span class="frmbar" style="margin: 0 11px;">
        </span>
        <div class="controls">
            <table cellspacing="0" cellpadding="0" border="0" width="100%">
                <tr>
                    <td align="left">
                        <table>
                            <tr>
                                <td>
                                    <img src="../images/maintenance_32x32.gif" width="16" height="16" />
                                </td>
                                <td>
                                    <label>
                                        设置 > 修改广告信息</label>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td align="right">
                        <span>操作 > </span><a href='./Add.aspx'>添加广告信息</a> <a href='javascript:window.history.back();'>
                            返回</a>
                    </td>
                </tr>
            </table>
        </div>
        <span class="frmbar" style="margin: 0 11px;"></span><span class="frmbar" style="margin: 0 12px;">
        </span>
    </div>
    <div class="frmstatic" style="display: block">
        <table width="98%" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#d2e6fa">
            <tr valign="top">
                <td valign="top">
                    <form id="form1" runat="server">
                    <table width="100%" border="0" align="center" cellspacing="1" bgcolor="#ecf5ff">
                        <tr>
                            <td align="right" nowrap bgcolor="#F4FBFF">
                                广告名称：
                            </td>
                            <td nowrap bgcolor="#F4FBFF">
                                <asp:TextBox ID="txtName" CssClass="long_input" runat="server"></asp:TextBox>
                            </td>
                            <td nowrap bgcolor="#F4FBFF">
                                <asp:Panel ID="txtNameTip" runat="server">
                                </asp:Panel>
                            </td>
                        </tr>
                        <asp:Panel ID="pnlType1" runat="server" Width="100%">
                            <tr>
                                <td align="right" nowrap bgcolor="#F4FBFF">
                                    图片上传：
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:FileUpload ID="FileUpload1" runat="server" />
                                    <asp:Button ID="btnFileUpload" runat="server" CausesValidation="False" Text="提交"
                                        Width="10%" OnClick="btnFileUpload_Click" />
                                    <asp:Button ID="btnDelPic" runat="server" CausesValidation="False" Text="删除一张图" Width="24%"
                                        OnClick="btnDelPic_Click" />
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <div class="msgNormal">
                                        请选择要上传的图片</div>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" nowrap bgcolor="#F4FBFF">
                                    图片地址：
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:TextBox ID="txtUpspread1" runat="server" TextMode="MultiLine" Width="300px"
                                        Enabled="False"></asp:TextBox>
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <div class="msgNormal">
                                        自动生成，不可修改项。是图片上传后的地址</div>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" nowrap bgcolor="#F4FBFF">
                                    图片宽：
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:TextBox ID="txtWidth1" runat="server" Width="43px" MaxLength="3"></asp:TextBox>
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:Panel ID="txtWidth1Tip" runat="server">
                                    </asp:Panel>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" nowrap bgcolor="#F4FBFF">
                                    图片高：
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:TextBox ID="txtHeight1" runat="server" Width="43px" MaxLength="3"></asp:TextBox>
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:Panel ID="txtHeight1Tip" runat="server">
                                    </asp:Panel>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" nowrap bgcolor="#F4FBFF">
                                    链接地址：
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:TextBox ID="txtLinkAddress" runat="server" Width="50%" MaxLength="50">http://</asp:TextBox>
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:Panel ID="txtLinkAddressTip" runat="server">
                                    </asp:Panel>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" nowrap bgcolor="#F4FBFF">
                                    链接提示：
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:TextBox ID="txtHint1" runat="server" Width="50%" MaxLength="100"></asp:TextBox>
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <div class="msgNormal">
                                        请输入广告的链接提示</div>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" nowrap bgcolor="#F4FBFF">
                                    链接目标：
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:RadioButtonList ID="rdolstTarget1" RepeatLayout="Flow" runat="server" RepeatDirection="Horizontal"
                                        Width="171px">
                                        <asp:ListItem Text="新窗口" Value="0" Selected="True"></asp:ListItem>
                                        <asp:ListItem Text="原窗口" Value="1"></asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <div class="msgNormal">
                                        请选择点击广告后要链接的目标方式</div>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" nowrap bgcolor="#F4FBFF">
                                    广告简介：
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:TextBox ID="txtContent1" runat="server" TextMode="MultiLine" Width="300px"></asp:TextBox>
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <div class="msgNormal">
                                        请输入简短的文字作为广告的介绍</div>
                                </td>
                            </tr>
                        </asp:Panel>
                        <asp:Panel ID="pnlType2" runat="server" Width="100%">
                            <tr>
                                <td align="right" nowrap bgcolor="#F4FBFF">
                                    动画上传：
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:FileUpload ID="FileUpload2" runat="server" />
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <div class="msgNormal">
                                        请选择你要上传的动画</div>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" nowrap bgcolor="#F4FBFF">
                                    动画宽：
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:TextBox ID="txtWidth2" runat="server" Width="43px" MaxLength="3"></asp:TextBox>
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:Panel ID="txtWidth2Tip" runat="server">
                                    </asp:Panel>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" nowrap bgcolor="#F4FBFF">
                                    动画高：
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:TextBox ID="txtHeight2" runat="server" Width="43px" MaxLength="3"></asp:TextBox>
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:Panel ID="txtHeight2Tip" runat="server">
                                    </asp:Panel>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" nowrap bgcolor="#F4FBFF">
                                    背景透明：
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:RadioButtonList ID="rlistTarget2" runat="server" RepeatDirection="Horizontal"
                                        Width="171px">
                                        <asp:ListItem Text="不透明" Value="0" Selected="True"></asp:ListItem>
                                        <asp:ListItem Text="透明" Value="1"></asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <div class="msgNormal">
                                        请选择背景是否透明</div>
                                </td>
                            </tr>
                        </asp:Panel>
                        <asp:Panel ID="pnlType3" runat="server" Width="100%" Visible="False">
                            <tr>
                                <td align="right" nowrap bgcolor="#F4FBFF">
                                    广告内容设置：
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:TextBox ID="txtContent3" runat="server" TextMode="MultiLine" Width="300px"></asp:TextBox>
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:Panel ID="txtContent3Tip" runat="server">
                                    </asp:Panel>
                                </td>
                            </tr>
                        </asp:Panel>
                        <asp:Panel ID="pnlType4" runat="server" Width="100%" Visible="False">
                            <tr>
                                <td align="right" nowrap bgcolor="#F4FBFF">
                                    图片上传：
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:FileUpload ID="FileUpload3" runat="server" />
                                    <asp:Button ID="btnUploadSlide" runat="server" CausesValidation="False" Text="提交"
                                        Width="10%" OnClick="btnUploadSlide_Click" />
                                    <asp:Button ID="btnDelSlide" runat="server" CausesValidation="False" Text="删除" Width="10%"
                                        OnClick="btnDelSlide_Click" />
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <div class="msgNormal">
                                        请选择你要上传的图片</div>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" nowrap bgcolor="#F4FBFF">
                                    图片地址：
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:TextBox ID="txtUpspread4" runat="server" TextMode="MultiLine" Enabled="False"></asp:TextBox>
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <div class="msgNormal">
                                        自动生成，不可修改项。是图片上传后的地址</div>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" nowrap bgcolor="#F4FBFF">
                                    图片宽：
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:TextBox ID="txtWidth4" runat="server" MaxLength="3"></asp:TextBox>
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:Panel ID="txtWidth4Tip" runat="server">
                                    </asp:Panel>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" nowrap bgcolor="#F4FBFF">
                                    图片高：
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:TextBox ID="txtHeight4" runat="server" MaxLength="3"></asp:TextBox>
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:Panel ID="txtHeight4Tip" runat="server">
                                    </asp:Panel>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" nowrap bgcolor="#F4FBFF">
                                    链接地址：
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:TextBox ID="txtLinkAddress4" runat="server">http://</asp:TextBox>
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:Panel ID="txtLinkAddress4Tip" runat="server">
                                    </asp:Panel>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" nowrap bgcolor="#F4FBFF">
                                    链接提示：
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:TextBox ID="txtHint4" runat="server" MaxLength="100"></asp:TextBox>
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <div class="msgNormal">
                                        请输入广告的链接提示</div>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" nowrap bgcolor="#F4FBFF">
                                    链接目标：
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:RadioButtonList ID="rlistTarget4" RepeatLayout="Flow" runat="server" RepeatDirection="Horizontal"
                                        Width="171px">
                                        <asp:ListItem Text="新窗口" Value="0" Selected="True"></asp:ListItem>
                                        <asp:ListItem Text="原窗口" Value="1"></asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                </td>
                            </tr>
                            <tr>
                                <td align="right" nowrap bgcolor="#F4FBFF">
                                    广告简介：
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <asp:TextBox ID="txtContent4" runat="server" TextMode="MultiLine"></asp:TextBox>
                                </td>
                                <td nowrap bgcolor="#F4FBFF">
                                    <div class="msgNormal">
                                        请输入简短的文字作为广告的介绍</div>
                                </td>
                            </tr>
                        </asp:Panel>
                        <tr>
                            <td align="right" nowrap bgcolor="#F4FBFF">
                                广告权重：
                            </td>
                            <td nowrap bgcolor="#F4FBFF">
                                <asp:TextBox ID="txtPower" runat="server" MaxLength="5"></asp:TextBox>
                            </td>
                            <td nowrap bgcolor="#F4FBFF">
                                <asp:Panel ID="txtPowerTip" runat="server">
                                </asp:Panel>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" nowrap bgcolor="#F4FBFF">
                                统计浏览数：
                            </td>
                            <td nowrap bgcolor="#F4FBFF">
                                <asp:CheckBox ID="chxBorwsCount" runat="server" Text="是否统计" />
                                &nbsp;浏览数：<asp:TextBox ID="txtBrowseCount" runat="server" MaxLength="10" Width="60px"></asp:TextBox>
                            </td>
                            <td nowrap bgcolor="#F4FBFF">
                                <asp:Panel ID="txtBrowseCountTip" runat="server">
                                </asp:Panel>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" nowrap bgcolor="#F4FBFF">
                                统计点击数：
                            </td>
                            <td nowrap bgcolor="#F4FBFF">
                                <asp:CheckBox ID="chxClickCount" runat="server" Text="是否统计" />
                                &nbsp;点击数：<asp:TextBox ID="txtClickCount" runat="server" MaxLength="10" Width="60px"></asp:TextBox>
                            </td>
                            <td nowrap bgcolor="#F4FBFF">
                                <asp:Panel ID="txtClickCountTip" runat="server">
                                </asp:Panel>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" nowrap bgcolor="#F4FBFF">
                                广告过期时间：
                            </td>
                            <td nowrap bgcolor="#F4FBFF">
                                <asp:TextBox ID="dpStart" CssClass="date_input" runat="server" Width="70"></asp:TextBox>
                            </td>
                            <td nowrap bgcolor="#F4FBFF">
                                <div class="msgNormal">
                                    请选择广告的过期时间</div>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" nowrap bgcolor="#F4FBFF">
                                审核状态：
                            </td>
                            <td bgcolor="#F4FBFF">
                                <asp:CheckBox ID="chxExamine" runat="server" Text="审核通过" />
                            </td>
                            <td bgcolor="#F4FBFF">
                                <div class="msgNormal">
                                    请选择是否通过审核</div>
                            </td>
                        </tr>
                        <tr>
                            <td bgcolor="#F4FBFF">
                                &nbsp;
                            </td>
                            <td bgcolor="#F4FBFF">
                                <asp:HiddenField ID="hidReferrer" runat="server" />
                                <asp:HiddenField ID="hidNO" runat="server" />
                                <asp:Button BackColor="#F4FBFF" CssClass="bt" ID="btnModify" runat="server" Text=" 确定 "
                                    OnClick="btnModify_Click" />
                            </td>
                            <td bgcolor="#F4FBFF">
                                &nbsp;
                            </td>
                        </tr>
                    </table>
                    </form>
                </td>
            </tr>
        </table>
    </div>
</body>
</html>
